package com.didichuxing.datachannel.agentmanager.common.bean.dto.agent;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author huqidong
 * @date 2020-09-21
 * Agent注册接口对象
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class AgentRegisterDTO {

    @ApiModelProperty(value = "Agent宿主机名 注：注册Agent接口必填，更新Agent接口不可填")
    private String hostName;

    @ApiModelProperty(value = "Agent宿主机ip 注：注册Agent接口必填，更新Agent接口不可填")
    private String ip;

    @ApiModelProperty(value = "Agent采集方式 0：采集宿主机日志 1：采集宿主机挂载的所有容器日志 2：采集宿主机日志 & 宿主机挂载的所有容器日志 注：注册Agent接口必填，更新Agent接口不可填")
    private Integer collectType;

    @ApiModelProperty(value = "Agent版本号 注：创建Agent接口必填，更新Agent接口不可填")
    private String version;

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getCollectType() {
        return collectType;
    }

    public void setCollectType(Integer collectType) {
        this.collectType = collectType;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }
}
